package com.sl.hx.shop.bean;

import android.os.Parcel;
import android.os.Parcelable;

import java.io.Serializable;

public class FlashSaleList implements Parcelable{


    /**
     * click_url : https://s.click.taobao.com/t?e=m%3D2%26s%3D72QKRUpCJuscQipKwQzePOeEDrYVVa64yK8Cckff7TVRAdhuF14FMbtprSHKnk6f5x%2BIUlGKNpXHzjweKcITkNc7qzpBfSVRO0wSR6rIPY2fgzbvTGh%2BeKWTvA0RuZHbX6F2SPioLsGwBJ8ApazkomySTsl8vmTOBClubkKZb%2BFd9Yhf6iLTRLnTSo7I9DrlueKm%2Ba5OxLO3FfQ4KQ8XS8YOae24fhW0
     * end_time : 2018-12-04 09:59:59
     * num_iid : 565939045747
     * pic_url : http://img4.tbcdn.cn/tfscom///gju1.alicdn.com/tps/i4/603785419/TB28e3qnAKWBuNjy1zjXXcOypXa_!!0-juitemmedia.jpg
     * reserve_price : 13.38
     * sold_num : 222
     * start_time : 2018-12-03 10:00:00
     * title : 施耐德开关插座 家用插座面板
     * total_amount : 11200
     * zk_final_price : 8.89
     */

    private String click_url;
    private String end_time;
    private String num_iid;
    private String pic_url;
    private String reserve_price;
    private String sold_num;
    private String start_time;
    private String title;
    private String total_amount;
    private Double zk_final_price;

    protected FlashSaleList(Parcel in) {
        click_url = in.readString();
        end_time = in.readString();
        num_iid = in.readString();
        pic_url = in.readString();
        reserve_price = in.readString();
        sold_num = in.readString();
        start_time = in.readString();
        title = in.readString();
        total_amount = in.readString();
        zk_final_price = in.readDouble();
    }

    public static final Creator<FlashSaleList> CREATOR = new Creator<FlashSaleList>() {
        @Override
        public FlashSaleList createFromParcel(Parcel in) {
            return new FlashSaleList(in);
        }

        @Override
        public FlashSaleList[] newArray(int size) {
            return new FlashSaleList[size];
        }
    };

    public String getClick_url() {
        return click_url;
    }

    public void setClick_url(String click_url) {
        this.click_url = click_url;
    }

    public String getEnd_time() {
        return end_time;
    }

    public void setEnd_time(String end_time) {
        this.end_time = end_time;
    }

    public String getNum_iid() {
        return num_iid;
    }

    public void setNum_iid(String num_iid) {
        this.num_iid = num_iid;
    }

    public String getPic_url() {
        return pic_url;
    }

    public void setPic_url(String pic_url) {
        this.pic_url = pic_url;
    }

    public String getReserve_price() {
        return reserve_price;
    }

    public void setReserve_price(String reserve_price) {
        this.reserve_price = reserve_price;
    }

    public String getSold_num() {
        return sold_num;
    }

    public void setSold_num(String sold_num) {
        this.sold_num = sold_num;
    }

    public String getStart_time() {
        return start_time;
    }

    public void setStart_time(String start_time) {
        this.start_time = start_time;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTotal_amount() {
        return total_amount;
    }

    public void setTotal_amount(String total_amount) {
        this.total_amount = total_amount;
    }

    public Double getZk_final_price() {
        return zk_final_price;
    }

    public void setZk_final_price(Double zk_final_price) {
        this.zk_final_price = zk_final_price;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel parcel, int i) {
        parcel.writeString(click_url);
        parcel.writeString(end_time);
        parcel.writeString(num_iid);
        parcel.writeString(pic_url);
        parcel.writeString(reserve_price);
        parcel.writeString(sold_num);
        parcel.writeString(start_time);
        parcel.writeString(title);
        parcel.writeString(total_amount);
        parcel.writeDouble(zk_final_price);
    }
}
